package com.hxexp.weixin.hpe.api.userorderlist.model;

import java.util.List;

import com.hxexp.weixin.model.CommonResult;

/**
 * 用户订单列表返回结果
 *
 * @author li.jiang
 *
 */
public final class UserOrderListResultBean extends CommonResult {

    private static final long serialVersionUID = 7650220614523176040L;
    /**
     * 订单列表
     */
    private List<OrderInfoBean> orderList;
    /**
     * 总页数
     */
    private Integer pageCount;

    /**
     * @return the orderList
     */
    public List<OrderInfoBean> getOrderList() {
        return orderList;
    }

    /**
     * @param orderList
     *            the orderList to set
     */
    public void setOrderList(List<OrderInfoBean> orderList) {
        this.orderList = orderList;
    }

    public Integer getPageCount() {
        return pageCount;
    }

    public void setPageCount(Integer pageCount) {
        this.pageCount = pageCount;
    }

    /*
     * (non-Javadoc)
     *
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return String.format("UserOrderListResultBean [errcode=%d, errmsg=%s, orderList=%s,pageCount=%d]",
                this.getErrcode(), this.getErrmsg(), orderList, pageCount);
    }

}
